package com.infolab.aims.service.intf;

import java.util.List;

import com.infolab.aims.common.bean.SearchCriteria;
import com.infolab.aims.common.bean.SearchResult;
import com.infolab.aims.domain.LocationBean;
import com.infolab.aims.domain.SystemCodeType;
import com.infolab.aims.domain.SystemCodeValue;

public interface SystemCodeService {
	
	public void createSystemCodeType(SystemCodeType systemCodeType);
	
	public SystemCodeType getSystemCodeType(Integer systemCodeTypeId);
	
	public SystemCodeType findSystemCodeType(SearchCriteria searchCriteria);
	
	public List<SystemCodeType> findSystemCodeTypes(SearchCriteria searchCriteria);
	
	public List<SystemCodeValue> findSystemCodeCodeValues(SearchCriteria searchCriteria);
	
	public SearchResult searchSystemCodeType(SearchCriteria searchCriteria);
	
	public void updateSystemCodeType(SystemCodeType systemCodeType);
	
	public void updateFaultCode(String faultCode,SystemCodeType systemCodeType);
	
	public void updateSystemCodeValues(SystemCodeType systemCodeType);
	
	public void updateSystemCodeLocation(LocationBean locationBean);
}
